package com.basics.api.service;

import com.basics.api.request.login.PhoneLoginRequest;
import com.basics.api.response.LoginData;
import com.basics.framework.web.domain.RestResult;

import java.util.Map;

public interface LoginApiService {




    /**
     * app授权登录
     * @param code
     * @return
     */
    LoginData appLogin(String code);

    /**
     * 获取手机号验证码
     * @param phone
     */
    void getPhoneCode(String phone);

    /**
     * 手机号验证登录
     * @param request
     * @return
     */
    LoginData phoneLogin(PhoneLoginRequest request);
}
